package com.luo.graduatedesign.server;

import java.net.ServerSocket;
import java.net.Socket;


public class Server extends Thread {

	private static final int serverPort = 6000;
	private static ServerSocket ss;
	private static Socket s;
	private static String userName;
	private static String userPassword;
	
	public static void server() {
		try{
			ss = new ServerSocket(serverPort);
			s = ss.accept();
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
}
